package com.linjacy.httpproject.mapper;
import com.linjacy.httpproject.annotation.TableShard;
import com.linjacy.httpproject.config.TableShardStrategyId;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.linjacy.httpproject.entity.User;
import org.springframework.stereotype.Repository;

//@Repository
@Mapper
//@TableShard(tableNamePrefix = "user",value = "快乐组",shardStrategy = TableShardStrategyId.class)
public interface UserMapper extends BaseMapper<User> {
    User getMyUserTest(@Param("id") String id);
}
